<?php
	include_once('config.php');
	include_once('SystemOneAPI.php');
	$api_service_list = "https://202.92.144.6/api/info/";
	$api = new SystemOneAPI($api_service_list, API_USERNAME, API_PASSWORD);
	
	
	
	$test=$api->execute('get_course_descriptions',array('searchKeysCSV'=>'cmsc 2'));
	
	echo "<br/>course code: ".$test->data[0]->courseCode;
	echo "<br/>course title: ".$test->data[0]->courseTitle;
	echo "<br/>course unit: ".$test->data[0]->units;
	echo "<br/>course unitcode: ".$test->data[0]->unitCode;
	echo "<br/>semester offered: ".$test->data[0]->semesterOffered;
	echo "<br/>prerequisites: ".$test->data[0]->prerequisites;
	echo "<br/>items: ".$test->items;
	$api->close();
	
?>